# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-python-emailahoy3
_pkgname=python-emailahoy3
pkgver=0.1.3
pkgrel=7
pkgdesc='A Python3 email utility that verifies existence of an email address.'
arch=('any')
url='https://pypi.org/project/python-emailahoy3/#files'
license=('BSD')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('bc32f0d5e702250c2e3a112e9d2aa01bce2a6b8adc268a3cc3b5c380ab6bf737aecef73ef801f896c522ad9cbeb6a440aca91357a60dac94441346a9a28d2ef9')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

